package com.hy.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.hy.entity.pojo.HyPropertySort;
import lombok.Data;

import java.util.List;


@Data
@ContentRowHeight(20)
@HeadRowHeight(40)
@ColumnWidth(20)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 12)
public class HyPropertySortVO extends HyPropertySort {

    @ExcelProperty(value = "单位名称",index = 2)
    private String unitName;
    @ExcelProperty(value = "上级分类名",index = 3)
    private String mgrName;
    @ExcelIgnore
    private List<HyPropertySortVO> children;


}
